递归法打印如下图所示星阵。
\newline
\begin{lstlisting}[language=Bash]
* * * * *
* * * *
* * *
* *
*
\end{lstlisting}
\verb|考生文件夹\Python\星阵.py|
\begin{lstlisting}[language=Python]
def star(n):
    if n == __1__:
        print("")
        return
    else:
        print("* " * __2__)
        star(n - 1)
star(__3__)
\end{lstlisting}
